home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / wics.zip / FONTSEL.H < prev    next >
C/C++ Source or Header  |  1993-03-03  |  1KB  |  41 lines

  1. //=====================================================================================
  2. //    Windows Interface Construction Set
  3. //    Version 1.00
  4. //
  5. //    FONTSEL.H - Font Selection Control Class
  6. //    Copyright ⌐ 1993 by Microdyne Development Technologies.
  7. //    All rights reserved.
  8. //=====================================================================================
  9.  
  10. #ifndef __FONTSEL_H
  11. #define __FONTSEL_H
  12.  
  13. #include <owl.h>
  14. #include <control.h>
  15.  
  16. _CLASSDEF (TFontSelect);
  17.  
  18. class TFontSelect : public TControl
  19. {
  20. private:
  21. protected:
  22.     virtual LPSTR GetClassName() { return "FontSelect"; }
  23.     virtual void WMDrawItem (RTMessage) = [WM_FIRST + WM_DRAWITEM];
  24.  
  25. public:
  26.     TFontSelect (PTWindowsObject AParent, int AnId, int X, int Y);
  27.     ~TFontSelect();
  28.  
  29.     virtual int  GetControlLength () { return Attr.W; }
  30.     virtual void GetFamilyName (WORD cchMax, LPSTR lpFamilyName);
  31.     virtual int  GetFontSize ();
  32.     virtual void SetFamilyName (LPSTR lpFamilyName);
  33.     virtual void SetFamilyCommandCode (WORD code);
  34.     virtual void SetFontSize (int iPointSize);
  35.     virtual void SetFontSizeCommandCode (WORD code);
  36.  
  37.  
  38. };
  39.  
  40. #endif
  41.